package com.jzoom.zoom.pay;

public class PayException extends Exception {

	//code为三位数

	//订单问题
	public static final String PAY_NOT_FOUND = "001";
	public static final String ORDER_NOT_PAID = "001";
	public static final String ORDERID_NOT_SAME = "001";
	//参数问题
	public static final String ENCODING_NOT_SUPPORT = "002";
	public static final String NOT_SUPPORTED_CHANNEL = "002";
	//网络问题
	public static final String IO_ERROR = "003";
	
	private String code;
	private String error;
	
	public PayException(String code,String error) {
		super();
		this.code = code;
		this.error = error;
	}
	
	

	
	
	
	public String getError() {
		return error;
	}






	public void setError(String error) {
		this.error = error;
	}






	public String getCode() {
		return code;
	}






	public void setCode(String code) {
		this.code = code;
	}






	/**
	 * 
	 */
	private static final long serialVersionUID = 5297770303410788592L;






}
